<template>
  <div>
    <!-- 
      name(必传)：应用名称
      url(必传)：应用地址，会被自动补全为http://localhost:3000/index.html
      baseroute(可选)：基座应用分配给子应用的基础路由，就是上面的 `/my-page`
     -->
    <micro-app :name="name" :url="url" :baseroute="baseroute"></micro-app>
  </div>
</template>
<script>
import config from "../../config/index";
export default {
  data() {
    return {
      name: config.app1.name,
      url: config.app1.url + config.app1.publicPath,
      baseroute: config.app1.baseroute,
    };
  },
};
</script>
